<?php include PATH_VIEWS . 'common/header.php'; ?> 
<div class="main">
    <?php include PATH_VIEWS . 'common/left.php'; ?>
    <div class="main_right welcome_right" id="slide">
        <dl>
            <dt><h3>操作说明 <span>[关闭/展开]</span></h3></dt>
            <dd class="border">
                <span>以下红色边框的表单是必填项 。</span>
            </dd>
        </dl>
        <dl>
            <dt class="bottom">
            <h4>编辑后台账户</h4>
            </dt>
            <dd>
                <form name="form2" method="post" action="<?php echo URL ?>" onsubmit="return checkForm(this.name)">
                    <table class="system_envir from_demo">  
                     
                        <tr>
                            <td>账户名</td>
                            <td class="email"><input name="Faccount" type="text" maxlength="20" data-rule="用户名:required;username;length[4~32]" data-target="#usre" value="<?php echo $edit['Faccount']; ?>" /></td>
                            <td id="usre">账户在数据表中必须是唯一的，不能重复，只能填字母或数字，字符长度：4-32个</td>
                        </tr>
                        <tr>
                            <td>登录密码</td>
                            <td class="email"><input name="Fpassword" type="password" maxlength="20" data-rule="密码: required;password;" data-target="#psd" value="<?php echo $edit['Fpassword']; ?>" /></td>
                            <td id="psd">登录密码必须和重复密码保持一致，字符长度：6-16个</td>
                        </tr>
                        <tr>
                            <td>重复密码</td>
                            <td class="email"><input name="Fpassword1" type="password" maxlength="20" data-rule="确认密码: required;match(Fpassword);" data-target="#psd1" value="<?php echo $edit['Fpassword']; ?>"/></td>
                            <td id="psd1">登录密码必须和重复密码保持一致，字符长度：6-16个</td>
                        </tr>
                        <tr>
                            <td>姓名</td>
                            <td class="email"><input type="text" name="Fname" maxlength="20" data-rule="姓名:required；length[2~16]" data-target="#name" value="<?php echo $edit['Faccount']; ?>"/></td>
                            <td id="name">真实姓名</td>
                        </tr>
                        <tr>
                            <td>性别</td>
                            <td>
                                <select name="Fsex">
                                    <option value="1">男</option>
                                    <option value="2">女</option>
                                </select>
                            </td>
                            <td>请选择</td>
                        </tr>
                   
                        <tr>
                            <td>邮箱</td>
                            <td class="email"><input type="text" name="Fmail" maxlength="20" data-rule="邮箱:required;email"  data-target="#email1" value="<?php echo $edit['Fmail']; ?>"/></td>
                            <td id="email1">请填写正确的邮箱格式</td>
                        </tr>
                        <tr>
                            <td>QQ</td>
                            <td class="widt"><input id="fqq" type="text" name="Fqq" maxlength="20" data-rule="integer;length[5~11]" data-target="#qq" /></td>
                            <td ><span id="qq"></span><span id="qqLeng">请填写正确的QQ号码</span></td>
                        </tr>
                        <tr>
                            <td>手机号码</td>
                            <td class="widt"><input type="text" id="fMobile" name="Fmobile" maxlength="20" data-rule="手机号码:mobile" data-target="#mobile"/></td>
                            <td><span id="mobile"></span><span class="shouji">请填写正确的手机号码</span></td>
                        </tr>
                        <tr>
                            <td>固定电话</td>
                            <td class="widt"><input id="ftel" type="text" name="Ftel" maxlength="20" data-rule="tel" data-target="#tel"/></td>
                            <td><span id="tel"></span><span id="tel1">请填写正确的固定电话</span></td>
                        </tr>
                        <tr>
                            <td></td>
                            <td class="subbtn" colspan="2">
                                <input class="ok" type="submit" value="确认提交"/>
                                <a class="cancel" href="<?php echo str_replace('&way=A', '&way=S', URL); ?>">返回</a>
                            </td>
                        </tr>
                     
                    </table>
                </form>
            </dd>
        </dl>
    </div>
</div>
<?php
include PATH_VIEWS . 'common/footer.php';
